

<nz-form-item style="padding-top: 30px;">
    <nz-form-label [nzSpan]="6" nzFor="noticeName">院系名称</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <nz-select style="width:400px;" nzAllowClear [nzPlaceHolder]="'请选择院系名称'" [(ngModel)]="departmentName" (ngModelChange)="provinceChangesol($event)"

                (nzOnSearch)="facultysearchChange($event)" [nzServerSearch]="true" [nzNotFoundContent]="'没有对应内容'" nzShowSearch>
            <nz-option *ngFor="let list of academearr" [nzLabel]="list.collegeDepartmentName" [nzValue]="list.id"></nz-option>
        </nz-select>
        <span style="color: red">*</span>
    </nz-form-control>
</nz-form-item>
<nz-form-item>
      <nz-form-label [nzSpan]="6" nzFor="noticeName">班级名称</nz-form-label>
      <nz-form-control [nzSpan]="14">
          <nz-select style="width:400px;" nzAllowClear [nzPlaceHolder]="'请选择班级名称'" [(ngModel)]="selclassname" (ngModelChange)="classChangesol($event)"

                  (nzOnSearch)="classsearchChange($event)" [nzServerSearch]="true" [nzNotFoundContent]="'没有对应内容'" nzShowSearch>
              <nz-option *ngFor="let list of classarr" [nzLabel]="list.className" [nzValue]="list.id"></nz-option>
          </nz-select>
          <span style="color: red">*</span>
      </nz-form-control>
</nz-form-item>


<nz-form-item >
  <nz-form-label [nzSpan]="6" nzFor="noticeContent">用户名</nz-form-label>
  <nz-form-control [nzSpan]="14">
      <input placeholder="用户名" style="width: 400px" nz-input [(ngModel)]="username"/> <span style="color: red">*</span>
  </nz-form-control>
</nz-form-item >

<nz-form-item >
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">密码</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="密码，不填默认123456" style="width: 400px" nz-input [(ngModel)]="userpassword"/>
    </nz-form-control>
  </nz-form-item >

  <nz-form-item >
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">学生姓名</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="学生姓名" style="width: 400px" nz-input [(ngModel)]="studentname"/> <span style="color: red">*</span>
    </nz-form-control>
  </nz-form-item >

  <nz-form-item >
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">学生电话</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="学生电话" style="width: 400px" nz-input [(ngModel)]="studentphone"/> <span style="color: red">*</span>
    </nz-form-control>
  </nz-form-item >

  <nz-form-item >
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">学号</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="学号" style="width: 400px" nz-input [(ngModel)]="stdentnun"/> <span style="color: red">*</span>
    </nz-form-control>
  </nz-form-item >


<nz-form-item nz-row>
  <nz-form-control nz-col [nzSpan]="14" [nzOffset]="6">
      <button nz-button nzType="primary" style="width: 100px"(click)="serve('success')">保存</button>
      &nbsp; &nbsp; &nbsp;
      <button nz-button nzType="default" style="width: 100px"  [routerLink]="[ '../classindex']">取消</button>
  </nz-form-control>
</nz-form-item>